package cn.zspt.phonebook.mapper;

import cn.zspt.phonebook.domain.PhoneBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PhoneMapper {
    List<PhoneBook> findAllPhoneBook();

    List<PhoneBook> findPhoneBookByName(String keyword);

    void addPhoneBook(PhoneBook phoneBook);
}
